import Layout from '@/pages/public/layout' // 公共部分

const bottom = [{
  path: '/site/navi/bottom',
  component: Layout,
  children: [{
    path: '',
    component: () => import('@/pages/site/navi/bottom/index.vue'),
    meta: {
      title: '底部导航配置',
      permission: 'site.pc.navi.bottom'
    }
  }, {
    path: ':group_id(\\d+)/create',
    component: () => import('@/pages/site/navi/bottom/create.vue'),
    meta: {
      title: '新建底部导航',
      permission: 'site.pc.navi.bottom.add'
    }
  }, {
    path: ':id/edit',
    component: () => import('@/pages/site/navi/bottom/edit.vue'),
    meta: {
      title: '编辑底部导航',
      permission: 'site.pc.navi.bottom.edit'
    }
  }]
}]

export default bottom
